package com.ruoyi.erp.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 凭证生成对象 gl_accvouch
 * 
 * @author ztj
 * @date 2023-04-28
 */
public class GlAccvouch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会计年度 */
    @Excel(name = "会计年度")
    private String iYear;

    /** 会计期间 */
    @Excel(name = "会计期间")
    private String iYPeriod;

    /** 会计月份 */
    @Excel(name = "会计月份")
    private String iperiod;

    /** 凭证类别字 */
    @Excel(name = "凭证类别字")
    private String csign;

    /** 凭证类别排序号 */
    @Excel(name = "凭证类别排序号")
    private String isignseq;

    /** 凭证编号 */
    @Excel(name = "凭证编号")
    private Integer inoId;

    /** 行号 */
    @Excel(name = "行号")
    private Long inid;

    /** 制单日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "制单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dbillDate;

    /** 制单人 */
    @Excel(name = "制单人")
    private String cbill;

    /** 摘要 */
    @Excel(name = "摘要")
    private String cdigest;

    /** 科目编码 */
    @Excel(name = "科目编码")
    private String ccode;

    /** 借方金额 */
    @Excel(name = "借方金额")
    private String md;

    /** 贷方金额 */
    @Excel(name = "贷方金额")
    private String mc;

    /** 客户编码 */
    @Excel(name = "客户编码")
    private String ccusId;
    private String cdeptId;
    private String cpersonId;
    private String csupId;
    private String citemId;
    private String citemClass;
    /** 业务员 */
    @Excel(name = "业务员")
    private String cname;

    /** 对方科目编码 */
    @Excel(name = "对方科目编码")
    private String ccodeEqual;

    /** 附单据数 */
    @Excel(name = "附单据数")
    private String idoc;

    /** 对方科目带币种 */
    @Excel(name = "对方科目带币种")
    private String ccodeexchEqual;
    private String cCashItem;

    public String getCdeptId() {
        return cdeptId;
    }

    public void setCdeptId(String cdeptId) {
        this.cdeptId = cdeptId;
    }

    public String getCpersonId() {
        return cpersonId;
    }

    public void setCpersonId(String cpersonId) {
        this.cpersonId = cpersonId;
    }

    public String getCsupId() {
        return csupId;
    }

    public void setCsupId(String csupId) {
        this.csupId = csupId;
    }

    public String getCitemId() {
        return citemId;
    }

    public void setCitemId(String citemId) {
        this.citemId = citemId;
    }

    public String getCitemClass() {
        return citemClass;
    }

    public void setCitemClass(String citemClass) {
        this.citemClass = citemClass;
    }

    public String getcCashItem() {
        return cCashItem;
    }

    public void setcCashItem(String cCashItem) {
        this.cCashItem = cCashItem;
    }

    public void setiYear(String iYear)
    {
        this.iYear = iYear;
    }

    public String getiYear() 
    {
        return iYear;
    }
    public void setiYPeriod(String iYPeriod) 
    {
        this.iYPeriod = iYPeriod;
    }

    public String getiYPeriod() 
    {
        return iYPeriod;
    }
    public void setIperiod(String iperiod) 
    {
        this.iperiod = iperiod;
    }

    public String getIperiod() 
    {
        return iperiod;
    }
    public void setCsign(String csign) 
    {
        this.csign = csign;
    }

    public String getCsign() 
    {
        return csign;
    }
    public void setIsignseq(String isignseq) 
    {
        this.isignseq = isignseq;
    }

    public String getIsignseq() 
    {
        return isignseq;
    }
    public void setInoId(Integer inoId)
    {
        this.inoId = inoId;
    }

    public Integer getInoId()
    {
        return inoId;
    }
    public void setInid(Long inid) 
    {
        this.inid = inid;
    }

    public Long getInid() 
    {
        return inid;
    }
    public void setDbillDate(Date dbillDate) 
    {
        this.dbillDate = dbillDate;
    }

    public Date getDbillDate() 
    {
        return dbillDate;
    }
    public void setCbill(String cbill) 
    {
        this.cbill = cbill;
    }

    public String getCbill() 
    {
        return cbill;
    }
    public void setCdigest(String cdigest) 
    {
        this.cdigest = cdigest;
    }

    public String getCdigest() 
    {
        return cdigest;
    }
    public void setCcode(String ccode) 
    {
        this.ccode = ccode;
    }

    public String getCcode() 
    {
        return ccode;
    }
    public void setMd(String md) 
    {
        this.md = md;
    }

    public String getMd() 
    {
        return md;
    }
    public void setMc(String mc) 
    {
        this.mc = mc;
    }

    public String getMc() 
    {
        return mc;
    }
    public void setCcusId(String ccusId) 
    {
        this.ccusId = ccusId;
    }

    public String getCcusId() 
    {
        return ccusId;
    }
    public void setCname(String cname) 
    {
        this.cname = cname;
    }

    public String getCname() 
    {
        return cname;
    }
    public void setCcodeEqual(String ccodeEqual) 
    {
        this.ccodeEqual = ccodeEqual;
    }

    public String getCcodeEqual() 
    {
        return ccodeEqual;
    }
    public void setIdoc(String idoc) 
    {
        this.idoc = idoc;
    }

    public String getIdoc() 
    {
        return idoc;
    }
    public void setCcodeexchEqual(String ccodeexchEqual) 
    {
        this.ccodeexchEqual = ccodeexchEqual;
    }

    public String getCcodeexchEqual() 
    {
        return ccodeexchEqual;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iYear", getiYear())
            .append("iYPeriod", getiYPeriod())
            .append("iperiod", getIperiod())
            .append("csign", getCsign())
            .append("isignseq", getIsignseq())
            .append("inoId", getInoId())
            .append("inid", getInid())
            .append("dbillDate", getDbillDate())
            .append("cbill", getCbill())
            .append("cdigest", getCdigest())
            .append("ccode", getCcode())
            .append("md", getMd())
            .append("mc", getMc())
            .append("ccusId", getCcusId())
            .append("cname", getCname())
            .append("ccodeEqual", getCcodeEqual())
            .append("idoc", getIdoc())
            .append("ccodeexchEqual", getCcodeexchEqual())
            .toString();
    }
}
